package com.mlnx.device.pojo.form;

import com.mlnx.device.enums.DeviceType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.util.Date;


@Data
@ApiModel("血氧设备添加参数类")
public class SpoDeviceForm {

    @NotBlank(message = "设备编号不能为空")
    @ApiModelProperty("设备编号")
    private String numeration;

    @NotNull(message = "设备有效使用期不能为空")
    @ApiModelProperty(value = "设备有效使用期")
    private Date validTime;

    @ApiModelProperty("mac")
    private String mac;

    @ApiModelProperty("当前绑定患者ID")
    private Integer patientId;

    @ApiModelProperty("设备类型")
    private DeviceType deviceType;

}
